<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.16"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>LibTools: three_function&lt; Result, Arg1, Arg2, Arg3 &gt; 模板结构体 参考</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">LibTools
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- 制作者 Doxygen 1.8.16 -->
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',false,false,'search.php','搜索');
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public 成员函数</a> &#124;
<a href="#pri-attribs">Private 属性</a> &#124;
<a href="structthree__function-members.html">所有成员列表</a>  </div>
  <div class="headertitle">
<div class="title">three_function&lt; Result, Arg1, Arg2, Arg3 &gt; 模板结构体 参考</div>  </div>
</div><!--header-->
<div class="contents">

<p>三元函数对象  
 <a href="structthree__function.html#details">更多...</a></p>

<p><code>#include &lt;<a class="el" href="_functional_8h_source.html">Functional.h</a>&gt;</code></p>
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pub-methods"></a>
Public 成员函数</h2></td></tr>
<tr class="memitem:aca04c5b40bce01f10c9214ddb83e3df4"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structthree__function.html#aca04c5b40bce01f10c9214ddb83e3df4">three_function</a> ()</td></tr>
<tr class="memdesc:aca04c5b40bce01f10c9214ddb83e3df4"><td class="mdescLeft">&#160;</td><td class="mdescRight">默认函数置为空  <a href="structthree__function.html#aca04c5b40bce01f10c9214ddb83e3df4">更多...</a><br /></td></tr>
<tr class="separator:aca04c5b40bce01f10c9214ddb83e3df4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aabc2f3bb104251ce019ceeb00fe741d3"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structthree__function.html#aabc2f3bb104251ce019ceeb00fe741d3">three_function</a> (Result(*fun)(Arg1, Arg2, Arg3))</td></tr>
<tr class="memdesc:aabc2f3bb104251ce019ceeb00fe741d3"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载构造函数赋值  <a href="structthree__function.html#aabc2f3bb104251ce019ceeb00fe741d3">更多...</a><br /></td></tr>
<tr class="separator:aabc2f3bb104251ce019ceeb00fe741d3"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a73f4ad4417345be875397cab4d4219a1"><td class="memItemLeft" align="right" valign="top">Result&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structthree__function.html#a73f4ad4417345be875397cab4d4219a1">operator()</a> (Arg1 a1, Arg2 a2, Arg3 a3)</td></tr>
<tr class="memdesc:a73f4ad4417345be875397cab4d4219a1"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载调用运算符  <a href="structthree__function.html#a73f4ad4417345be875397cab4d4219a1">更多...</a><br /></td></tr>
<tr class="separator:a73f4ad4417345be875397cab4d4219a1"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:a2d19035ac04c30362134cc25e3e611b4"><td class="memItemLeft" align="right" valign="top"><a class="el" href="structthree__function.html">three_function</a>&lt; Result, Arg1, Arg2, Arg3 &gt; &amp;&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structthree__function.html#a2d19035ac04c30362134cc25e3e611b4">operator=</a> (Result(*fun)(Arg1, Arg2, Arg3))</td></tr>
<tr class="memdesc:a2d19035ac04c30362134cc25e3e611b4"><td class="mdescLeft">&#160;</td><td class="mdescRight">重载函数给内部函数指针赋值  <a href="structthree__function.html#a2d19035ac04c30362134cc25e3e611b4">更多...</a><br /></td></tr>
<tr class="separator:a2d19035ac04c30362134cc25e3e611b4"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:aa438c30ef746c1b3f7149d0054a37384"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structthree__function.html#aa438c30ef746c1b3f7149d0054a37384">operator bool</a> ()</td></tr>
<tr class="memdesc:aa438c30ef746c1b3f7149d0054a37384"><td class="mdescLeft">&#160;</td><td class="mdescRight">判断函数指针是否已经赋值  <a href="structthree__function.html#aa438c30ef746c1b3f7149d0054a37384">更多...</a><br /></td></tr>
<tr class="separator:aa438c30ef746c1b3f7149d0054a37384"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="pri-attribs"></a>
Private 属性</h2></td></tr>
<tr class="memitem:a0c4f7e6d79a83cfc7c4ce8a34a035105"><td class="memItemLeft" align="right" valign="top">Result(*&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="structthree__function.html#a0c4f7e6d79a83cfc7c4ce8a34a035105">_fun</a> )(Arg1, Arg2, Arg3)</td></tr>
<tr class="separator:a0c4f7e6d79a83cfc7c4ce8a34a035105"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">详细描述</h2>
<div class="textblock"><h3>template&lt;class Result, class Arg1, class Arg2, class Arg3&gt;<br />
struct three_function&lt; Result, Arg1, Arg2, Arg3 &gt;</h3>

<p>三元函数对象 </p>

<p class="definition">在文件 <a class="el" href="_functional_8h_source.html">Functional.h</a> 第 <a class="el" href="_functional_8h_source.html#l00081">81</a> 行定义.</p>
</div><h2 class="groupheader">构造及析构函数说明</h2>
<a id="aca04c5b40bce01f10c9214ddb83e3df4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aca04c5b40bce01f10c9214ddb83e3df4">&#9670;&nbsp;</a></span>three_function() <span class="overload">[1/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Result , class Arg1 , class Arg2 , class Arg3 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structthree__function.html">three_function</a>&lt; Result, Arg1, Arg2, Arg3 &gt;::<a class="el" href="structthree__function.html">three_function</a> </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>默认函数置为空 </p>

<p class="definition">在文件 <a class="el" href="_functional_8h_source.html">Functional.h</a> 第 <a class="el" href="_functional_8h_source.html#l00084">84</a> 行定义.</p>

</div>
</div>
<a id="aabc2f3bb104251ce019ceeb00fe741d3"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aabc2f3bb104251ce019ceeb00fe741d3">&#9670;&nbsp;</a></span>three_function() <span class="overload">[2/2]</span></h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Result , class Arg1 , class Arg2 , class Arg3 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structthree__function.html">three_function</a>&lt; Result, Arg1, Arg2, Arg3 &gt;::<a class="el" href="structthree__function.html">three_function</a> </td>
          <td>(</td>
          <td class="paramtype">Result(*)(Arg1, Arg2, Arg3)&#160;</td>
          <td class="paramname"><em>fun</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>重载构造函数赋值 </p>

<p class="definition">在文件 <a class="el" href="_functional_8h_source.html">Functional.h</a> 第 <a class="el" href="_functional_8h_source.html#l00087">87</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">成员函数说明</h2>
<a id="aa438c30ef746c1b3f7149d0054a37384"></a>
<h2 class="memtitle"><span class="permalink"><a href="#aa438c30ef746c1b3f7149d0054a37384">&#9670;&nbsp;</a></span>operator bool()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Result , class Arg1 , class Arg2 , class Arg3 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structthree__function.html">three_function</a>&lt; Result, Arg1, Arg2, Arg3 &gt;::operator bool </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>判断函数指针是否已经赋值 </p>

<p class="definition">在文件 <a class="el" href="_functional_8h_source.html">Functional.h</a> 第 <a class="el" href="_functional_8h_source.html#l00104">104</a> 行定义.</p>

</div>
</div>
<a id="a73f4ad4417345be875397cab4d4219a1"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a73f4ad4417345be875397cab4d4219a1">&#9670;&nbsp;</a></span>operator()()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Result , class Arg1 , class Arg2 , class Arg3 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Result <a class="el" href="structthree__function.html">three_function</a>&lt; Result, Arg1, Arg2, Arg3 &gt;::operator() </td>
          <td>(</td>
          <td class="paramtype">Arg1&#160;</td>
          <td class="paramname"><em>a1</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Arg2&#160;</td>
          <td class="paramname"><em>a2</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">Arg3&#160;</td>
          <td class="paramname"><em>a3</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>重载调用运算符 </p>

<p class="definition">在文件 <a class="el" href="_functional_8h_source.html">Functional.h</a> 第 <a class="el" href="_functional_8h_source.html#l00090">90</a> 行定义.</p>

</div>
</div>
<a id="a2d19035ac04c30362134cc25e3e611b4"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a2d19035ac04c30362134cc25e3e611b4">&#9670;&nbsp;</a></span>operator=()</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Result , class Arg1 , class Arg2 , class Arg3 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="structthree__function.html">three_function</a>&lt;Result, Arg1, Arg2, Arg3&gt;&amp; <a class="el" href="structthree__function.html">three_function</a>&lt; Result, Arg1, Arg2, Arg3 &gt;::operator= </td>
          <td>(</td>
          <td class="paramtype">Result(*)(Arg1, Arg2, Arg3)&#160;</td>
          <td class="paramname"><em>fun</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">inline</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p>重载函数给内部函数指针赋值 </p>

<p class="definition">在文件 <a class="el" href="_functional_8h_source.html">Functional.h</a> 第 <a class="el" href="_functional_8h_source.html#l00097">97</a> 行定义.</p>

</div>
</div>
<h2 class="groupheader">类成员变量说明</h2>
<a id="a0c4f7e6d79a83cfc7c4ce8a34a035105"></a>
<h2 class="memtitle"><span class="permalink"><a href="#a0c4f7e6d79a83cfc7c4ce8a34a035105">&#9670;&nbsp;</a></span>_fun</h2>

<div class="memitem">
<div class="memproto">
<div class="memtemplate">
template&lt;class Result , class Arg1 , class Arg2 , class Arg3 &gt; </div>
<table class="mlabels">
  <tr>
  <td class="mlabels-left">
      <table class="memname">
        <tr>
          <td class="memname">Result(* <a class="el" href="structthree__function.html">three_function</a>&lt; Result, Arg1, Arg2, Arg3 &gt;::_fun) (Arg1, Arg2, Arg3)</td>
        </tr>
      </table>
  </td>
  <td class="mlabels-right">
<span class="mlabels"><span class="mlabel">private</span></span>  </td>
  </tr>
</table>
</div><div class="memdoc">

<p class="definition">在文件 <a class="el" href="_functional_8h_source.html">Functional.h</a> 第 <a class="el" href="_functional_8h_source.html#l00108">108</a> 行定义.</p>

</div>
</div>
<hr/>该结构体的文档由以下文件生成:<ul>
<li>H:/project/LibTools/src/tools/<a class="el" href="_functional_8h_source.html">Functional.h</a></li>
</ul>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
制作者 &#160;<a href="http://www.doxygen.org/index.html">
<img class="footer" src="doxygen.png" alt="doxygen"/>
</a> 1.8.16
</small></address>
</body>
</html>
